<extend name="./Common/View/Public/base.html" />

<block name="title">{$data.title}</block>
<block name="main">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col>
        </colgroup>
        <tbody>
        <tr>
            <td>{:format_dict($data['type'], 'MESSAGE_TYPE')}</td>
            <td>{$data.title}</td>
        </tr>
        <tr>
            <td colspan="2">{$data.content}</td>
        </tr>
        <tr>
            <td>时间</td>
            <td>{$data.send_time}</td>
        </tr>
        <notempty name="data.url">
            <tr>
                <td>详情</td>
                <td><a href="{$data.url}">{$data.url}</a></td>
            </tr>
        </notempty>
        </tbody>
    </table>
</block>